---
title: bud.copyFile
description: Copy a file to the distribution directory
custom_edit_url: 'https://github.com/roots/bud/tree/main/sources/@roots/bud-api/docs/copyFile'
tags:
  - assets
  - configuration
---

import Overview from '@site/../../@roots/bud-api/docs/copyFile/overview.md'
import Usage from '@site/../../@roots/bud-api/docs/copyFile/usage.md'

<Overview />

## Usage

<Usage />

## Related

- [bud.copyDir](/reference/bud.copyDir)
- [bud.assets](/reference/bud.assets)
